package com.baitiaojun.bulletscreen.mapper;

import com.baitiaojun.api.domain.video.BulletScreen;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BulletScreenMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BulletScreen record);

    int insertSelective(BulletScreen record);

    BulletScreen selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BulletScreen record);

    int updateByPrimaryKeyWithBLOBs(BulletScreen record);

    int updateByPrimaryKey(BulletScreen record);

    List<BulletScreen> selectBulletScreens(Long videoId);

    int batchInsertBulletScreenMqDuplicate(@Param("bulletScreens") List<BulletScreen> bulletScreens);
}